---
layout: api
title: "v2.1.4 JavaScript Library: L.mapbox.accessToken"
categories: api
version: v2.1.4
permalink: /api/v2.1.4/l-mapbox-accesstoken/
---
<h2 id="section-l-mapbox-accesstoken">L.mapbox.accessToken</h2>
<p>The API access token to be used by Mapbox.js. You must set this value as described
in <a href="../api-access-tokens">API access tokens</a>.</p>
